﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DFGK_WMS.Model.Models
{

    [Index(nameof(Code), IsUnique = true)]
    public partial class TPlatform
    {
        public int Id { get; set; }
        /// <summary>
        /// 月台编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 月台名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 库房Id
        /// </summary>
        public int WhId { get; set; }
        /// <summary>
        /// 库房编码
        /// </summary>
        public string WhCode { get; set; }
        /// <summary>
        /// 库房名称
        /// </summary>
        public string WhName { get; set; }
        /// <summary>
        /// 功能类型：10-入库；20-出库；30-出入库
        /// </summary>
        public int FunctionType { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 所在楼层
        /// </summary>
        public int? AddrFloor { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改用户Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUserName { get; set; }
    }
}
